package com.yvtian.admin.pojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (sys_menu)表实体类
 *
 * @author long
 * @since 2024-04-05 14:37:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_menu")
public class SysMenu  {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;
    @TableField(value = "menu_href")
    private String menuHref;
    /**
     * 按钮权限
     */
    @TableField(value = "menu_per")
    private String menuPer;
    /**
     * 0:目录，1:菜单，3:按钮
     */
    @TableField(value = "menu_type")
    private String menuType;
    /**
     * 排序
     */
    @TableField(value = "menu_sort")
    private Integer menuSort;
    /**
     * 父菜单ID
     */
    @TableField(value = "parent_id")
    private Integer parentId;
    @TableField(value = "menu_des")
    private String menuDes;
    @TableField(value = "is_delete")
    private Integer isDelete;
    @TableField(value = "is_disable")
    private Integer isDisable;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;


    @TableField(exist = false)
    private String parentName;


}

